package com.opencloud.ywt.client.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 城市信息
 * @author yeyong
 */
@TableName("bhyf_xhb_allsport")
public class BhyfXhbAllSport implements Serializable {

    private static final long serialVersionUID= -964202352621690483L;

    /**
     * 自增长ID
     */
    @ApiModelProperty(value = "自增长ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 运动名称
     */
    @ApiModelProperty(value = "运动名称")
    private String sportname;

    /**
     * 运动图标
     */
    @ApiModelProperty(value = "运动图标")
    private String sportlogo;

    /**
     * 运动强度
     */
    @ApiModelProperty(value = "运动强度")
    private String sportlevel;

    /**
     * 运动年级
     */
    @ApiModelProperty(value = "运动年级")
    private String sportgrade;

    /**
     * 运动时段
     */
    @ApiModelProperty(value = "运动时段")
    private String sporttime;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createtime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSportname() {
        return sportname;
    }

    public void setSportname(String sportname) {
        this.sportname = sportname;
    }

    public String getSportlogo() {
        return sportlogo;
    }

    public void setSportlogo(String sportlogo) {
        this.sportlogo = sportlogo;
    }

    public String getSportlevel() {
        return sportlevel;
    }

    public void setSportlevel(String sportlevel) {
        this.sportlevel = sportlevel;
    }

    public String getSportgrade() {
        return sportgrade;
    }

    public void setSportgrade(String sportgrade) {
        this.sportgrade = sportgrade;
    }

    public String getSporttime() {
        return sporttime;
    }

    public void setSporttime(String sporttime) {
        this.sporttime = sporttime;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "BhyfXhbAllsport{" +
                "id=" + id +
                ", sportname=" + sportname +
                ", sportlogo=" + sportlogo +
                ", sportlevel=" + sportlevel +
                ", sportgrade=" + sportgrade +
                ", sporttime=" + sporttime +
                ", createtime=" + createtime +
                "}";
    }
}
